package com.pro.baoyi.api.logWarn.model.db;

import com.pro.common.api.CommonConst;
import com.pro.common.api.model.BaseModel;
import com.pro.common.api.model.auth.IOpenConfigClass;
import com.pro.framework.javatodb.annotation.JTDTable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Schema(description = "日志大小记录表")
@JTDTable(entityId = 120001,module = CommonConst.Modules.admin, sequences = {
        "KEY `idx_module` (`module`)",
})
public class LogFileSizeRecord extends BaseModel implements IOpenConfigClass {
    @Schema(description = "模块")
    private String module;
    @Schema(description = "文件大小")
    private BigDecimal fileSize;
    @Schema(description = "文件创建时间")
    private LocalDateTime fileCreateTime;
    @Schema(description = "文件大小增量")
    private BigDecimal increaseSize;
    @Schema(description = "使用状态")
    private Boolean usedStatus;

}
